package com.manager.schedule.service;

import com.manager.common.vo.PageVO;
import com.manager.model.SchedulingLogs;
import com.manager.model.SchedulingStrategy;

import java.util.List;

public interface SchedulingService {

    void addSchedule(SchedulingStrategy model) ;

    void updateSchedule(SchedulingStrategy model);

    void deleteSchedule(SchedulingStrategy model);

    PageVO getSchedulePage(SchedulingStrategy model) throws Exception;

    PageVO getScheduleLogPage(SchedulingLogs model) throws Exception;

    SchedulingStrategy getSchedulingStrategy(String id);

    void startScheduling(String id);

    void stopScheduling(String id);

    List<SchedulingStrategy> getSchedulingStrategies();
}
